package com.example.nacosdemo1.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "pattern")
public class PatternConfig {

    private String datefromat;

    public String getDatefromat() {
        return datefromat;
    }

    public void setDatefromat(String datefromat) {
        this.datefromat = datefromat;
    }
}
